﻿
namespace Morus.Presentation
{
    public static class PresenterDiscoveryStrategies
    {
        private static readonly PresenterDiscoveryStrategyCollection _strategies = PresenterDiscoveryStrategies.CreateDefaultCollection();

        public static PresenterDiscoveryStrategyCollection Strategies
        {
            get
            {
                return PresenterDiscoveryStrategies._strategies;
            }
        }

        private static PresenterDiscoveryStrategyCollection CreateDefaultCollection()
        {
            return new PresenterDiscoveryStrategyCollection
            {
                new AttributeBasedPresenterDiscoveryStrategy(),
                new ConventionBasedPresenterDiscoveryStrategy(new BuildManagerWrapper()),
            };
        }
    }
}
